.class Lcom/estrongs/android/view/b0$f;
.super Landroid/widget/BaseExpandableListAdapter;
.source "MyNetworkGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/b0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/b0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/b0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getChild(II)Ljava/lang/Object;
    .locals 0

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p2}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object p2

    invoke-virtual {p2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/view/b0$n;

    iget-object p1, p1, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    return-object p1
.end method

.method public getChildId(II)J
    .locals 0

    const-wide/16 p1, 0x0

    return-wide p1
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p2}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object p2

    invoke-virtual {p2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/view/b0$n;

    iget-object p1, p1, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 2
    new-instance p2, Landroid/widget/LinearLayout;

    iget-object p3, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    iget-object p3, p3, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 p3, 0x1

    .line 3
    invoke-virtual {p2, p3}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 4
    new-instance p3, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 p4, 0x3f800000    # 1.0f

    const/4 p5, 0x0

    const/4 v0, -0x1

    invoke-direct {p3, v0, p5, p4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    .line 5
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v2, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    iget-object v2, v2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    .line 6
    invoke-static {v2, p4}, Les/fy;->a(Landroid/content/Context;F)I

    move-result p4

    invoke-direct {v1, v0, p4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-eqz p1, :cond_2

    .line 7
    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object p4

    .line 8
    invoke-virtual {p4}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 9
    invoke-virtual {p4}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V

    .line 10
    :cond_0
    invoke-virtual {p2, p4, p3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 11
    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q()I

    move-result p1

    if-lez p1, :cond_1

    .line 12
    invoke-virtual {p4, p5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_1
    const/16 p1, 0x8

    .line 13
    invoke-virtual {p4, p1}, Landroid/view/View;->setVisibility(I)V

    .line 14
    :goto_0
    new-instance p1, Landroid/view/View;

    iget-object p3, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    iget-object p3, p3, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {p1, p3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    .line 15
    iget-object p3, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    iget-object p3, p3, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {p3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p3

    const p4, 0x7f0601f6

    invoke-virtual {p3, p4}, Landroid/content/res/Resources;->getColor(I)I

    move-result p3

    invoke-virtual {p1, p3}, Landroid/view/View;->setBackgroundColor(I)V

    .line 16
    invoke-virtual {p2, p1, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-object p2

    :cond_2
    const/4 p1, 0x0

    return-object p1
.end method

.method public getChildrenCount(I)I
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public getGroup(I)Lcom/estrongs/android/view/b0$n;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {v0}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/view/b0$n;

    return-object p1
.end method

.method public bridge synthetic getGroup(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/b0$f;->getGroup(I)Lcom/estrongs/android/view/b0$n;

    move-result-object p1

    return-object p1
.end method

.method public getGroupCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {v0}, Lcom/estrongs/android/view/b0;->a(Lcom/estrongs/android/view/b0;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroupId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3

    if-nez p3, :cond_0

    .line 1
    iget-object p3, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    iget-object p3, p3, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-static {p3}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p3

    const p4, 0x7f0c028d

    const/4 v0, 0x0

    invoke-virtual {p3, p4, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p3

    .line 2
    :cond_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/b0$f;->getGroup(I)Lcom/estrongs/android/view/b0$n;

    move-result-object p1

    const p4, 0x7f0906a5

    .line 3
    invoke-virtual {p3, p4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p4

    check-cast p4, Landroid/widget/TextView;

    const v0, 0x7f090cec

    .line 4
    invoke-virtual {p3, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, ""

    if-eqz p1, :cond_1

    .line 5
    iget-object v2, p1, Lcom/estrongs/android/view/b0$n;->a:Ljava/lang/String;

    invoke-virtual {p4, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 6
    new-instance p4, Ljava/lang/StringBuilder;

    invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p1, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q()I

    move-result v2

    invoke-virtual {p4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {p4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p4

    invoke-virtual {v0, p4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    :cond_1
    iput-object v0, p1, Lcom/estrongs/android/view/b0$n;->c:Landroid/widget/TextView;

    const p4, 0x7f09054c

    .line 8
    invoke-virtual {p3, p4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p4

    check-cast p4, Landroid/widget/ImageView;

    .line 9
    iput-object p4, p1, Lcom/estrongs/android/view/b0$n;->d:Landroid/widget/ImageView;

    if-eqz p2, :cond_2

    .line 10
    iget-object p2, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p2}, Lcom/estrongs/android/view/b0;->b(Lcom/estrongs/android/view/b0;)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    invoke-virtual {p4, p2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 11
    :cond_2
    iget-object p2, p0, Lcom/estrongs/android/view/b0$f;->a:Lcom/estrongs/android/view/b0;

    invoke-static {p2}, Lcom/estrongs/android/view/b0;->c(Lcom/estrongs/android/view/b0;)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    invoke-virtual {p4, p2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 12
    :goto_0
    iget-object p2, p1, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q()I

    move-result p2

    if-nez p2, :cond_3

    const/4 p2, 0x4

    .line 13
    invoke-virtual {p4, p2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 14
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    :cond_3
    const/4 p2, 0x0

    .line 15
    invoke-virtual {p4, p2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 16
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 17
    :goto_1
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object p1, p1, Lcom/estrongs/android/view/b0$n;->e:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q()I

    move-result p1

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {p2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-object p3
.end method

.method public hasStableIds()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method
